package id.net.iconpln.bb.server.service.impl;

import java.util.List;
import java.util.Map;

import id.net.iconpln.bb.server.dao.MasterDao;
import id.net.iconpln.bb.server.dao.PengendalianDao;
import id.net.iconpln.bb.server.dao.ShipmentDao;
import id.net.iconpln.bb.server.service.PengendalianService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("pServiceImpl")
@Transactional(readOnly = true)
public class PengendalianServiceImpl implements PengendalianService{

	@Autowired private PengendalianDao pengendalianDao;
	@Autowired private MasterDao masterDao;
	
	@Override
	public List<Map> getListPengiriman(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianDao.getListPengiriman(kode, map);
	}

	@Override
	public List<Map> getListPasokan(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianDao.getListPasokan(kode, map);
	}

	@Override
	public List<Map> setPeringatanPemutusan(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianDao.setPeringatanPemutusan(kode, map);
	}

	@Override
	public List<Map> setBlackList(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianDao.setBlackList(kode, map);
	}

	@Override
	public List<Map> setBaSt(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianDao.setBaSt(kode, map);
	}

}
